#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int My_strlen(char *p)
{
	char* star = p;
	while (*p != '\0')
	{
		p++;
	}
	return p - star;
}

int main()
{
	char ch[13221];
	gets(ch);
	int len = My_strlen(ch);
	printf("%d", len);
	return 0;
}
